package homework.server.worker;

import homework.server.terminal.Command;

import java.io.IOException;
import java.net.Socket;
import java.util.Map;

public interface WorkerFactory {
    Runnable createWorker(Socket client, Map<String, String> globals, Map<String, Command> cmds) throws IOException;
}
